package com.aisile.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 分页数据实体类
 * @标题 PageResult
 * @作者 Mr.chen
 * @创建日期 2018/12/26 16:03
 * @版本号 1.0
 **/
public class PageResult implements Serializable{

    private long total;
    private List rows;

    public PageResult() {
    }

    public PageResult(long total, List rows) {
        this.total = total;
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }
}
